//
//  ICrEAMUser.h
//  ICrEAM
//
//  Created by mac on 16/11/1.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum{
    NoneType,  //未授权
    ConsultantType, //服务顾问
    ManagerType, //服务经理
    WorkshopType //车间主管
}UserType;
@interface ICrEAMUser : NSObject

@property(nonatomic,copy)NSString* account;
@property(nonatomic,copy)NSString* passWord;

@property(nonatomic,assign)BOOL isLogin;
@property(nonatomic,copy)NSString* asc_name;
@property(nonatomic,copy)NSString* consultant;
//员工编号
@property(nonatomic,copy)NSString* employee_NO;
@property(nonatomic,copy)NSString* net_code;
@property(nonatomic,copy)NSString* org_code;
@property(nonatomic,copy)NSString* positon_code;
@property(nonatomic,copy)NSString* user_name;
//是否服务顾问
@property(nonatomic,copy)NSString* IS_SERVICE_ADVISOR ;
//是否服务总监
@property(nonatomic,copy)NSString* IS_SERVICE_ADVISOR_MASTER;
// 是否车间主任
@property(nonatomic,copy)NSString* IS_WORKSHOP_MASTER ;
//结算精度
@property(nonatomic,copy)NSString* BALANCED_ACCURACY ;
//结算圆整方式
@property(nonatomic,copy)NSString* BALANCED_WAY ;
//
@property(nonatomic,copy)NSString* balance_range;


@property(nonatomic,copy)NSData* deviceToken;
//用户类型
@property(nonatomic,assign)UserType userType;

@property(nonatomic,assign)BOOL checkIsEdit;//用户是否正在编辑（预检单编辑）
+(ICrEAMUser*)shareICrEAMUser;
@end
